//
//  AvoidResponseVC.m
//  Buiom_7.0
//
//  Created by lanou3g on 15/11/4.
//  Copyright © 2015年 triffe. All rights reserved.
//

#import "AvoidResponseVC.h"

@interface AvoidResponseVC ()

@end

@implementation AvoidResponseVC

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor whiteColor];
    UILabel *titleLable = [[UILabel alloc] initWithFrame:CGRectMake((kScreenWidth - 100) / 2, 66, 100, 30)];
    titleLable.font = [UIFont systemFontOfSize:20];
    titleLable.textAlignment = NSTextAlignmentCenter;
    titleLable.text = @"免责声明";
    [self.view addSubview:titleLable];
    
    
    UILabel *contentLable = [[UILabel alloc] initWithFrame:CGRectMake((kScreenWidth - (kScreenWidth - 30)) / 2, titleLable.bottom + 10, kScreenWidth - 30, 380)];
    contentLable.font = [UIFont systemFontOfSize:16];
    contentLable.numberOfLines = 0;
    // contentLable.textAlignment = NSTextAlignmentCenter;
    contentLable.text = @"       本app所有内容，包括文字、图片、音频、视频、软件、程序、以及版式设计等均在网上搜集。\n       访问者可将本app提供的内容或服务用于个人学习、研究或欣赏，以及其他非商业性或非盈利性用途，但同时应遵守著作权法及其他相关法律的规定，不得侵犯本app及相关权利人的合法权利。除此以外，将本app任何内容或服务用于其他用途时，须征得本app及相关权利人的书面许可，并支付报酬。\n       本app内容原作者如不愿意在本app刊登内容，请及时通知本app，予以删除。\n地址：北京市海淀区金五星商厦4层蓝鸥科技有限公司\n电话：10086\n传真：暂无\n电子邮箱：*******@qq.com";
    [self.view addSubview:contentLable];
    
    UIBarButtonItem *leftBar = [[UIBarButtonItem alloc] initWithTitle:@"返回" style:(UIBarButtonItemStylePlain) target:self action:@selector(actionLeftButton:)];
    [leftBar setTintColor:[UIColor blackColor]];
    self.navigationItem.leftBarButtonItem = leftBar;
    

}

- (void)actionLeftButton:(UIBarButtonItem *)bar
{
    [self dismissViewControllerAnimated:YES completion:nil];
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
